package Server.domain;


public class User {
	private int userId;
	private String username;
	private String password;
	private String gender;
	private int age;
	private double money;
	private String mail;
	private String phoneNumber;
	private String question;
	private String answer;
	
	public User(){}
	
	public User(String password, String gender, int age,
			double money, String mail, String phoneNumber, String question,
			String answer,String username) {
		this.username = username;
		this.password = password;
		this.gender = gender;
		this.age = age;
		this.money = money;
		this.mail = mail;
		this.phoneNumber = phoneNumber;
		this.question = question;
		this.answer = answer;
	}
	
	public int getUserId(){
		return userId;
	}
	
	public void setUserId(int userId){
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", username=" + username
				+ ", password=" + password + ", gender=" + gender + ", age="
				+ age + ", money=" + money + ", mail=" + mail
				+ ", phoneNumber=" + phoneNumber + ", question=" + question
				+ ", answer=" + answer + "]";
	}

	
	
	

}
